<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html >
<html>
<head>
<title><t:mutiLang langKey="jeect.platform"/></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<t:base type="jquery,easyui,tools,DatePicker,autocomplete"></t:base>
<script type="text/javascript">
function a(){
	var p = document.getElementById("tex");
	if(!p.value|| p.value=="请填写不合格原因"){
		p.value="";
		p.style.color='black';
	}
	
}
function b(){
	var p = document.getElementById("tex");
	if(!p.value){
		p.value="请填写不合格原因";
		p.style.color='gray';
	}
}
</script>
</head>

<body style="overflow: hidden; width: 100%;" scroll="">
	<t:formvalid formid="formobj" dialog="true" 
		layout="table" action="surveySpotCheck.do?surveyNoPass">
		
	<input id="reportNo" name="reportNo" type="hidden">
	<div style="width: 300px;height: 150px;">
		<div style="margin:0 auto;width:200px;">
		<textarea rows="10" cols="35" id="tex" name="tex" style="color: gray;" onmousedown="a()" onblur="b()">请填写不合格原因</textarea>
		</div>
	</div>
	</t:formvalid>
</body>

</html>